Latest Questions

Spring API Gateway java.net.ConnectException: Connection timed out: no further information

I have a spring boot app with simple GET method "sayHello" i have configured API gateway to route calls to my microservice module when uri pattern matches /ms1/

Append Changed and New Employees to Existing Table

I have a table (Table 1) which is a list of employees and data points about them. The data that populated Table 1 is regularly changed and added to in its sourc

redirect pages from Umbraco site to external web pages

I have a Umbraco website. I want to use the same Umbraco site and need to redirect about 10 pages to a external pages including the home page. I think we have U

Can I iterate through the widgets in a databricks notebook?

Can I iterate through the widgets in a databricks notebook? Something like this pseudocode? # NB - not valid inputs = {widget.name: widget.value for widget in

Extracting year from a column that contains dates in m/d/yyyy format

I have a dataset called verts imported from Excel with a column called Date that contains dates in this format: m/d/yyyy. I'm trying to extract the year from th

How to find the longest increasing subsequence without sorting?

I want to find the longest increasing subsequence without sorting it, and to then sum the numbers of the period, for example like : 12, 15, 16, 4, 7, 10, 20,25

Importing a data frame from CSV file using Pandas with column name having spaces

I am trying to import a data frame from a .csv file which contains Per Capita Income. Moreover, in the above mentioned file the column name is Per Capita Income

how can i import main functin of another dart file

How can I verify that a print is called for in dart unit tests? I am writing a sample code for textbooks and want to try it out. There are many examples that us

How to run FastAPI server as multiple instances

I have developed a FastAPI Web Application. If I run the server and it is down or crashed for some reason. I need multiple instances of server to be running. I

Open type font collections are causing errors with PdfPrintingCore "Font has no usable platform or encoding ID. It cannot be used with PDFEdit."

When printing any text in font type Cambria (or another .ttc font type) on Windows I get the following error message: Font has no usable platform or encoding ID

Select specific child TAG but only if parent has no other children or text

I would like to use a CSS selector to select a specific child TAG but only if parent has no other children or text. In this specific case the <a> tag that

receive discord messages in pure, browser-based javascript?

(NOTE: this first section kinda just gives context, not too relevant to the message-receive thing, but again, it sets up some context that might help) So, I kno

Array and string in ruby

Hi amazing stackers! date = "10/02/2021" d1 = date.split("/") d2 = d1.to_s puts d1 puts d1.class puts d2 puts d2.class in the above code, d2 shows the data typ

Jinja2 template evaluate variable as attribute

I have a Jinja2 Template I'm working on for a database editing app, and I'm trying to make it 'extendible' - rather than hard-coding the editing page, I'm passi

How to use proxies library in flutter?

I want to create an Android app that connects to a proxy by button clicked and I'd like to know what should do to make this event? My proxy needs(password, user

How should I pass a function that runs an external file to be able to use multiprocessing?

I recently saw a module that allows me to run my code simultaneously which happens to be what I need. However, as I was testing with function, I ran into some e

How to implement new methods into pipeline using H2O?

I'm new to machine learning and H2O tools, and I'd like to know if there is a high-level H2O interface that allows us to implement new methods into a pipeline.

Is there a special way to upload url images to firebase?

Blockquote I'm building my app in Nuxt and Vuetify and I want to upload url images to Firebase with Axios using inputs (v-file-input). I have no problems with

What is the difference between jconn4.jar and jconn42.jar?

Basically in the installation SDK of Sybase 16 we have jconn4.jar and jconn42.jar. What is the difference between jconn4.jar and jconn42.jar?

Need a python code to find out the Local Binary Pattern and Gabor Filter of all the superpixels individually

I am doing tumor segmentation for my project and have used the SLIC function from scikit- image mark boundaries to create this grid. I am creating a feature vec

Get PATH instead of URL [duplicate]

This code: $files[$file->ID]['file_title'] = '<p><a target="_blank" href="' . esc_url( wp_get_attachment_url( $file->ID ) ) . '

How to start neo4j server (desktop edition) using python and without launching the desktop application?

I'm using neo4j Desktop Edition v4.4 & I've already integrated it with python (3.10) to create nodes and relationships.. this part is working fine, but I ne

In a json embedded YAML file - replace only json values using Python

I have a YAML file as follows: api: v1 hostname: abc metadata: name: test annotations: { "ip" : "1.1.1.1", "login" : "fad-login", "vip" : "1.1.1

Why can I not Distinct Gallery items from a SharePoint List in PowerApps

So I consider myself pretty experienced in the PowerApps area however I have faced an issue I have never seen before and cannot find a work around. So I have a

how to use the ssl flags with heidisql's cli arguments?

HeidiSql supports CLI arguments: https://www.heidisql.com/help.php#commandline I want to use the sslcacertificate option (-sslca or --sslcacertificate) but I ke

SVM multiclass optimization using cvxpy

Trying to solve multiclass svm using below formulations. size = 28*28 W_0 = Variable((size,1)) W_1 = Variable((size,1)) W_2 = Variable((size,1)) W = np.array(

How to show a partial view in the DOM, from a data obtained from a select control

I am working on a Net Core 5 MVC project. I want to generate a warehouse receipt document from a purchase order, the idea is to show the available orders in the

how to archive UITextView and UITextField data binding

problem description: After currently changing the attribute of UItextView, when I change the content of UITextView by entering text in UITextField, the f

camerax sample: Unresolved reference: WindowManager

I'm trying to compile the sample cameraxbasic but I get this error: Unresolved reference: WindowManager I checked gradle files and there is that dependency.

React Draft Wysiwyg dropdown options not working

I am facing issue when implementing React Draft Wysiwyg, font, size, bold and other dropdown options not working this is my code import React, { useState } from